package com.tongcao.cn.mq;

import com.tongcao.cn.mq.to.AsyncMsg;

/**
 * @Author:tongcao
 * @Date:2019/1/25 16:05
 * Description:消费类接口,实现该类处理具体的业务类型
 */
public interface ConsumerCallBack {


    /**
     * 业务具体处理方法
     *
     * @return
     */
    boolean process(AsyncMsg asyncMsg);

}
